public class Test {
    public static void main(String[] args) {
        int[] nums={1,0,2,0,3,4,3,4};
        TwoPointerAlgorithm twoPointerAlgorithm=new TwoPointerAlgorithm();
//        twoPointerAlgorithm.moveZeroes(nums);
//        for (int x:nums
//             ) {
//            System.out.print(x);
//        }
//        System.out.println();
        twoPointerAlgorithm.DuplicateZero1(nums);
        for (int x:
             nums) {
            System.out.print(x);
        }
    }
}
